Skip to content

Conversation

natemann
Copy link
Contributor

This fixes an issue of returning a double optional

let int: Int? = 0

let result = withErrorReporting {
  return int
}

// result is Int??

@mbrandonw
Copy link
Member

Hi @natemann, thanks for this. We've also come across this annoyance and think this is a good change. I pushed some updates and some tests. We will merge and release soon.

@stephencelis stephencelis merged commit 60dbf52 into pointfreeco:main Oct 3, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants